package cn.tedu.kcircle.content.admin.infra.converter;

import cn.tedu.kcircle.content.admin.repository.model.ContentUpdateCheckStateModel;
import cn.tedu.kcircle.content.dao.entity.ContentDO;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

@Component
public class ContentConverter {
    public ContentDO model2DO(ContentUpdateCheckStateModel contentUpdateCheckStateModel){
        ContentDO contentDO = new ContentDO();
        BeanUtils.copyProperties(contentDO,contentDO);
        return contentDO;
    }
}
